package cn.ultrarisk.scadmin.manager.biz.stat.dto;

import cn.ultrarisk.scadmin.manager.biz.stat.context.StatType;

import java.io.Serializable;

/**
 * StatDTO
 *
 * @author sevendlong(lin23871@163.com)
 * @date 2014/5/24
 * @since V1.0
 */
public class StatisticsFilter implements Serializable {
    private static final long serialVersionUID = -6086817317237827503L;

    public static final int DIMENSION_NODE = 1;
    public static final int DIMENSION_COLLECTION = 2;
    public static final int DIMENSION_REPLICA = 3;

    /**
     * 统计维度
     */
    private Integer dimension;
    private Integer nodeId;
    private Integer collectionId;
    private Integer replicaId;
    private StatType statType;
    private Long startTime;
    private Long endTime;

    public StatisticsFilter() {
    }

    public Integer getDimension() {
        return dimension;
    }

    public void setDimension(Integer dimension) {
        this.dimension = dimension;
    }

    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }

    public Integer getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Integer collectionId) {
        this.collectionId = collectionId;
    }

    public Integer getReplicaId() {
        return replicaId;
    }

    public void setReplicaId(Integer replicaId) {
        this.replicaId = replicaId;
    }

    public StatType getStatType() {
        return statType;
    }

    public void setStatType(StatType statType) {
        this.statType = statType;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }
}
